export interface Monitor {
  id: string;
  name: string;
  url: string | null;
  type?: string;
}
export type MonitorDTO = {
  success: boolean;
  code: number;
  msg: string;
  time: string;
  data: Monitor[];
}
// 高栏港后台返回通用的数据类型
export interface VideoListItem {
  name: string;
  id: number;
  url: string;
  camera_index_code: string;
}
// 视频列表
export type VideoListDTO = {
  success: boolean;
  code: number;
  msg: string;
  time: string;
  data: {
    total: number;
    records: VideoListItem[];
  };
}
// 高栏港后台返回通用的数据类型
export interface GaolanResType {
  success: boolean;
  code: number;
  msg: string;
  time: string;
  data: string;
}

// 后台返回通用的数据类型
export interface ResType<T> {
  status: number;
  msg: string;
  data: T;
}

// getInfo接口返回的data内的数据类型
export interface GetInfo {
  key1: string;
  key2: string;
  arr: string[]; // string类型的数组
}
